<template>
  <div class="hs-gl-wrap">
    <div class="hs-gl-wrap-row">
      <div class="hs-gl-wrap-content gl-1">
        <div>
          <div class="wrap-content-title">总办公室数</div>
          <div class="wrap-content-num">
            {{ this.$store.state.statistical.staticGlobal.workRoom }}
          </div>
        </div>
      </div>
      <div class="hs-gl-wrap-content gl-2">
        <div>
          <div class="wrap-content-title">总车位数</div>
          <div class="wrap-content-num">
            {{ this.$store.state.statistical.staticGlobal.carPlace }}
          </div>
        </div>
      </div>
    </div>
    <div class="hs-gl-wrap-row row-down">
      <div class="hs-gl-wrap-content gl-3">
        <div>
          <div class="wrap-content-title">入驻企业数</div>
          <div class="wrap-content-num">
            {{ this.$store.state.statistical.staticGlobal.enterprise }}
          </div>
        </div>
      </div>
      <div class="hs-gl-wrap-content gl-4">
        <div>
          <div class="wrap-content-title">员工总数</div>
          <div class="wrap-content-num">
            {{ this.$store.state.statistical.staticGlobal.employee }}
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
//全局统计

export default {
  name: "globalStatistical",
  data() {
    return {};
  },
  watch: {},
  mounted() {},
};
</script>

<style scoped>
.hs-gl-wrap {
  /* border: 1px solid red; */
  /* width: 651px; */
  /* height: 274px; */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.hs-gl-wrap-row {
  /* border: 1px solid blue; */
  height: 48%;
  display: flex;
  justify-content: space-between;
}
.row-down {
  /* margin-top: 9px; */
}
.hs-gl-wrap-content {
  /* border: 1px solid green; */
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 48%;
  /* width: 320px; */
  /* height: 132px; */
  color: #ffffff;
}
.gl-1 {
  background: linear-gradient(
    180deg,
    rgba(96, 239, 194, 1) 0%,
    rgba(96, 239, 194, 1) 0%,
    rgba(39, 180, 144, 1) 100%,
    rgba(39, 180, 144, 1) 100%
  );
}
.gl-2 {
  background: linear-gradient(
    180deg,
    rgba(96, 239, 194, 1) 0%,
    rgba(129, 211, 248, 1) 0%,
    rgba(115, 192, 222, 1) 67%
  );
}
.gl-3 {
  background: linear-gradient(
    180deg,
    rgba(101, 170, 244, 1) 0%,
    rgba(101, 170, 244, 1) 0%,
    rgba(51, 101, 198, 1) 100%,
    rgba(51, 101, 198, 1) 100%
  );
}
.gl-4 {
  background: linear-gradient(
    180deg,
    rgba(248, 213, 92, 1) 0%,
    rgba(248, 213, 92, 1) 0%,
    rgba(234, 140, 23, 1) 100%,
    rgba(234, 140, 23, 1) 100%
  );
}
.wrap-content-title {
  font-size: 20px;
  font-weight: 600;
}
.wrap-content-num {
  margin-top: 4px;
  font-size: 30px;
  font-weight: 900;
}
</style>